/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.andersen.web.beans;

import org.springframework.stereotype.Component;

/**
 *
 * @author Corvus 11
 */
@Component
public class UserCommandForm {
    
    private long id;
    
    private String login;
    
    private String prevLogin;
    
    private String password;
    
    private String confirmPassword;
    
    private String previousPassword;
    
    //private boolean typeAccount;
        
    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getPreviousPassword() {
        return previousPassword;
    }

    public void setPreviousPassword(String previousPassword) {
        this.previousPassword = previousPassword;
    }

    public String getPrevLogin() {
        return prevLogin;
    }

    public void setPrevLogin(String prevLogin) {
        this.prevLogin = prevLogin;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
    
    @Override
    public String toString() {
        return "UserCommandFormat{" + "id=" + id + 
                ", login=" + login + 
                ", prevLogin=" + prevLogin + 
                ", password=" + password + 
                ", confirmPassword=" + confirmPassword + 
                ", previousPassword=" + previousPassword + '}';
    }

    
    
}
